package com.shawn.spring.boot.redis.service;

import com.shawn.spring.boot.redis.entity.CoffeeEntity;
import java.util.List;
import java.util.Optional;

public interface CoffeeCacheService {

  List<CoffeeEntity> findAllCoffee();

  Optional<CoffeeEntity> findSimpleCoffeeFromCache(String name);

  Optional<CoffeeEntity> findOneCoffee(String name);
}
